﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Tipler.Siniflar
{
   public class LogAraci
    {
       public static void EventLogYaz(string HataMesaji, EventLogEntryType erType = EventLogEntryType.Error)
       {
           //if (!System.Diagnostics.EventLog.SourceExists("IKYS"))
           //    System.Diagnostics.EventLog.CreateEventSource("IKYS", "Application");
           //System.Diagnostics.EventLog.WriteEntry("IKYS", HataMesaji.ToString().Replace("<br>", System.Environment.NewLine), erType);
       }
    }
}
